package xian.woniu.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import xian.woniu.entity.Chewei;
import xian.woniu.entity.CheweiExample;

public interface CheweiMapper {
    int countByExample(CheweiExample example);

    int deleteByExample(CheweiExample example);

    int deleteByPrimaryKey(Integer cheweiId);

    int insert(Chewei record);

    int insertSelective(Chewei record);

    List<Chewei> selectByExample(CheweiExample example);

    Chewei selectByPrimaryKey(Integer cheweiId);

    int updateByExampleSelective(@Param("record") Chewei record, @Param("example") CheweiExample example);

    int updateByExample(@Param("record") Chewei record, @Param("example") CheweiExample example);

    int updateByPrimaryKeySelective(Chewei record);

    int updateByPrimaryKey(Chewei record);
}